package com.youtellv1.service;

import com.youtellv1.entity.TeacherSign;
import com.youtellv1.entity.Teachers;

import java.util.Date;
import java.util.List;

public interface TeacherSignService {
    boolean hasSignedOnDate(Integer tid, Date date);

    boolean hasSignedToday(Integer tid);

    void insertSignRecord(TeacherSign teacherSign);

    void insertTodaySign(TeacherSign teacherSign);

    List<Date> findAllSignDates(Integer tid);

    List<Date> findThisMonthSignDates(Integer tid);

    boolean isTodaySigned(Integer tid);

}
